﻿

using Framework.EncryptionDecryptionService.Enums;

namespace Framework.EncryptionDecryptionService.Inteface
{
    /// <summary>
    /// 加解密服务
    /// <para>API使用手册：<a href="../Manual/API使用手册.md"></a></para>
    /// <para>开发手册：<a href="../Manual/开发手册.md"></a></para>
    /// </summary>
    public interface IEncryptionDecryptionService
    {
        /// <summary>
        /// 加密服务
        /// </summary>
        /// <remarks><see href=""/></remarks>
        /// <param name="decryptionEnum">加密服务</param>
        /// <param name="lifecycle">作用域</param>
        /// <returns></returns>
        public IEncryptionService EncryptionService(EncryptionAlgorithm decryptionEnum);
        /// <summary>
        /// 解密服务
        /// </summary>
        /// <param name="decryptionEnum">加密服务</param>
        /// <param name="lifecycle">作用域</param>
        /// <returns></returns>
        public IDecryptionService DecryptionService(EncryptionAlgorithm decryptionEnum);
    }
}
